package com.dd.cloud.user.entity.menu;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 客户端菜单用户配置表
 * </p>
 *
 * @author czg
 * @since 2022-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(comment = "客户端菜单用户配置表")
public class ClientMenuUser implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true,isAutoIncrement = true)
    private Integer id;

    /**
     * 客户端的id
     */
    @Column(comment = "客户端的id")
    private Integer clientId;

    /**
     * 用户id
     */
    @Column(comment = "用户id")
    private Integer userId;

    /**
     * 用户类型, 同登录类型
     */
    @Column(comment = "用户类型, 同登录类型")
    private Integer userType;

    /**
     * 創建日期
     */
    @Column(comment = "創建日期")
    private LocalDateTime createDate;

    /**
     * 状态 1正常 -1删除
     */
    @Column(comment = "状态 1正常 -1删除")
    private Integer status;


}
